package com.bigdata.movieticketapi.vo.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class LoginOrRegRespVO {
    @ApiModelProperty(value = "业务token")
    private String token;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号")
    private String phoneNumber;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("钱包")
    private BigDecimal wallet;

}
